import {postRequest} from '../../util/fetch';

export const getStoreList = filter =>
  postRequest('/mobile/applet/getStoreList.shtml', {filter});
export const getAppletInfo = appid =>
  postRequest('/mobile/applet/getAppletInfo.shtml', {appid});
export const getAppletState = appid =>
  postRequest('/mobile/applet/getAppletState.shtml', {appid});
export const buyApplet = data =>
  postRequest('/mobile/applet/buyApplet.shtml', {...data});
export const getAppletBanners = () =>
  postRequest('/mobile/applet/getAppletBanners.shtml');
